import request from "@/utils/request";
import { FillDTO } from "@/api/fill/business/Types";

/*数据列表显示*/
export const getList = (query?: FillDTO) => {
  return request({
    url: "/publish/business/getListAll",
    method: "post",
    data: query
  });
};

/*预算部门*/
export const getBudgetDeptList = (query?: FillDTO) => {
  return request({
    url: "/publish/business/getBudgetDeptList",
    method: "post",
    data: query
  });
};

/*保存数据*/
export const saveIssue = (data?: any) => {
  return request({
    url: "/publish/business/saveIssue",
    method: "post",
    data: data
  });
};


/*下达*/
export const updateStatus = (data?: any) => {
  return request({
    url: "/publish/business/issue",
    method: "post",
    data: data
  });
};

